package com.at.c05_stack;

/**
 * 演示栈中的异常：StackOverflowError
 * <p>
 * 默认情况：count: 9798
 * 设置栈大小 -Xss256k: count: 2212
 *
 * @author huangchao E-mail:fengquan8866@163.com
 * @version 创建时间：2024/6/23 17:31
 */
public class StackOverflowErrorTest {
    private static int count = 1;

    public static void main(String[] args) {
        System.out.println(count++);
        main(args);
    }
}
